@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="deptInfoForm">

            <input type="hidden" id="id" value="${dept.id}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="simplename" name="部门名称" underline="true" value="${dept.simplename}"/>

                    <#input id="fullname" name="部门全称" underline="true" value="${dept.fullname}" readonly="true"/>

                    <#input id="tips" name="备注" underline="true" value="${dept.tips}" readonly="true"/>
                </div>
                <div class="col-sm-6">
                    <#input id="num" name="排序" underline="true" value="${dept.num}"/>



                    <#input id="pName" name="上级部门 *" underline="true" value="${pName}"
                    hidden="pid" readonly="readonly" hiddenValue="${dept.pid}"
                    clickFun="DeptInfoDlg.showDeptSelectTree(); return false;"
                    style="background-color: #ffffff !important;"
                    selectFlag="true" selectId="deptTreeDiv" selectTreeId="deptTree"
                    selectStyle="width:244px !important;"/>


                </div>
            </div>



            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="DeptInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="DeptInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/dept/dept_info.js"></script>
@}
